package com.hksj.wmp.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

@Data
public class WxLoginDTO implements Serializable {
    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value ="密码")
    private String password;

    @ApiModelProperty("小程序wx.login()获取的code")
    @NotBlank(message = "code不能为空",groups = {Login.class})
    private String code;

    public interface Login{

    }
}
